﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Twi.COMMON.Core
{
    /*
    * Copyright: ©2010-2011 Twilight软件开发工作室版权所有
     * Create By:xuzhihong
     * Create Date: 2011-03-07
     * Description: 多条件综合查询Model
     */


    public class MultiCondition
    {
        private DateTime beginDate = DateTime.MinValue;
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime BeginDate
        {
            get
            {
                return beginDate;
            }
            set
            {
                beginDate = value;
            }
        }

        private DateTime endDate = DateTime.MaxValue;
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime EndDate
        {
            get
            {
                return endDate;
            }
            set
            {
                endDate = value;
            }
        }

        /// <summary>
        /// 日期标志
        /// </summary>
        public string DateSign
        {
            get;
            set;
        }

        private Dictionary<string, string> dict = new Dictionary<string, string>();
        /// <summary>
        /// 条件字典
        /// </summary>
        public Dictionary<string, string> Dict
        {
            get
            {
                return dict;
            }
            set
            {
                dict = value;
            }
        }
    }
}
